﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Awaken.MessageProvider
{
    /// <summary>
    /// 返回结果
    /// </summary>
    public class Result
    {
        /// <summary>
        /// 返回代码 对应ReturnCode枚举值
        /// </summary>
        public int Code { get; set; }   

        /// <summary>
        /// 信息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 数据 存储返回的相关对象
        /// [{"name": "a","accountid": "1","role": "user","tenant": "t"},
        /// {"name": "b","accountid": "2","role": "user","tenant": "tt"}]
        /// </summary>
        public dynamic Data { get; set; }
    }
}
